const config = () => {
    return {
        ProjectName: '基于node.js构建的微型jenkins',
        version: '1.1.0',
        port: 8081,
        jwt: {
            secretKey: 'xupufen6666666',
            TimeOut: '6h'
        },
        mysql: {
            host: 'localhost',
            user: 'jenkins',
            password: 'root',
            database: 'jenkins',
            port: 3306
        },
        emil: {
            from: 'xupufen@foxmail.com',
            host: 'smtp.qq.com',
            secure: true,
            secureConnection: false,
            port: 465,
            auth: {
                user: 'xupufen@foxmail.com',
                pass: 'pxsrdbrngtzlbhgi'
            }
        },
        redis:{
            port: 6379,
            host: '127.0.0.1',
            family: 4,
            password: '',
            db: 0
        }
    }
}

module.exports = config